
{[$result.to]}，您好!<br/>

<br/>
您如下的客户到款信息财务已确认，请悉知。<br/>

<br/>
<table class="tec-ui-test" style="width: 98%" align="center" border="0" cellpadding="2" cellspacing="0"
	style="border-style:none; margin-top: 2px; font-size:14px;">
	<tr>
		<td>第{[$result.id]}号</td>
		<td align="right">到帐日期：{[$result.date]}</td>
	</tr>
</table>

<table border="1" cellpadding="2" cellspacing="0" style="margin-top: 2px; font-size:14px; border-collapse: collapse" bordercolor="#111111" width="100%">
	<tr>
		<td align="right">客户：</td>
		<td colspan="3">{[$result.supplier_x->fullname]}</td>
	</tr>
	<tr>
		<td align="right">方式：</td>
		<td colspan="3">{[$result.bank_t]} {[$result.account_t]}</td>
	</tr>
	<tr>
		<td width="20%" align="right">银行金额：</td>
		<td width="30%">{[$result.total|money]} {[$result.currency]}</td>
		<td width="20%" align="right">扣除费用：</td>
		<td width="30%">{[$result.kc]} {[$result.currency]}</td>
	</tr>
	<tr>
		<td align="right">到帐金额：</td>
		<td colspan="3">{[$result.amount|money]} {[$result.currency]}（大写）{[$result.currency_t]} {[$result.amount|rmb]}</td>
	</tr>
	<tr>
		<td align="right">人民币：</td>
		<td>{[$result.rmb|money]}</td>
		<td align="right">汇率：</td>
		<td>{[$result.rate]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content|nl2br]}</td>
	</tr>
</table>

<table border="1" cellpadding="2" cellspacing="0" style="margin-top: 2px; font-size:14px; border-collapse: collapse" bordercolor="#111111" width="100%">
	<tr>
		<th width="40">序号</th>
		<th>流水号</th>
		<th>事由</th>
		<th>币种</th>
		<th>应收</th>
		<th>实收</th>
		<th>开票日期</th>
		<th>状态</th>
		<th>备注</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result.item]} 
	{[assign var="no" value="`$key+1`"]} 
	{[assign var="t1"	value="`$t1+$item.total`"]} 
	{[assign var="t2" value="`$t2+$item.amount`"]} 
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.in_x.name]}{[$item.name]}</td>
		<td>{[$item.currency_t]}
		<td>{[$item.total|money]}</td>
		<td>{[$item.amount|money]}</td>
		
		<td>{[$item.invoice]}</td>
		<td>{[$item.status_t]}</td>
		<td id="item_content_{[$no]}">{[$item.content]}</td>		
	</tr>
	{[/foreach]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td colspan="3"></td>
		<td>合计</td>
		<td>{[$t1|money]}</td>
		<td>{[$t2|money]}</td>
		<td colspan="3"></td>
	</tr>
</table>

{[$smarty.session.emp.name]}<br/>
{[$smarty.now|date_format:'%Y-%m-%d %H:%M']}
